#ifndef _I_API_DEPTH_STENCIL_STATE_H_
#define _I_API_DEPTH_STENCIL_STATE_H_

#include "../interface/I_api_DeviceChild.h"

class I_api_DepthStencilState : public I_api_DeviceChild
{
protected:
	friend class I_api_Device;
	friend class C_gl_Device;

	S_api_DepthStencilState m_Desc;

	I_api_DepthStencilState(const S_api_DepthStencilState * pDepthStencilState, const I_api_Device * pDevice)
		: I_api_DeviceChild(pDevice)	
	{
		m_Desc = *pDepthStencilState;
	}
public:
	~I_api_DepthStencilState(){}

	virtual	void	GetDesc(S_api_DepthStencilState *pDesc)
	{
		*pDesc = m_Desc;
	}
};

#endif